package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * jinggao对象 vehicle_fault
 * 
 * @author ruoyi
 * @date 2023-09-24
 */
public class VehicleFault extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 故障Id */
    private Long vehicleId;

    /** 故障组 */
    @Excel(name = "故障组")
    private String failureGroup;

    /** 故障位 */
    @Excel(name = "故障位")
    private String syndrom;

    /** 故障值 */
    @Excel(name = "故障值")
    private String faultValue;

    /** 故障标签 */
    @Excel(name = "故障标签")
    private String faultLable;

    /** 故障码 */
    @Excel(name = "故障码")
    private String faultCode;

    /** 是否警告 */
    @Excel(name = "是否警告")
    private String noWarning;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date turnoverTime;

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setFailureGroup(String failureGroup) 
    {
        this.failureGroup = failureGroup;
    }

    public String getFailureGroup() 
    {
        return failureGroup;
    }
    public void setSyndrom(String syndrom) 
    {
        this.syndrom = syndrom;
    }

    public String getSyndrom() 
    {
        return syndrom;
    }
    public void setFaultValue(String faultValue) 
    {
        this.faultValue = faultValue;
    }

    public String getFaultValue() 
    {
        return faultValue;
    }
    public void setFaultLable(String faultLable) 
    {
        this.faultLable = faultLable;
    }

    public String getFaultLable() 
    {
        return faultLable;
    }
    public void setFaultCode(String faultCode) 
    {
        this.faultCode = faultCode;
    }

    public String getFaultCode() 
    {
        return faultCode;
    }
    public void setNoWarning(String noWarning) 
    {
        this.noWarning = noWarning;
    }

    public String getNoWarning() 
    {
        return noWarning;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setTurnoverTime(Date turnoverTime) 
    {
        this.turnoverTime = turnoverTime;
    }

    public Date getTurnoverTime() 
    {
        return turnoverTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("failureGroup", getFailureGroup())
            .append("syndrom", getSyndrom())
            .append("faultValue", getFaultValue())
            .append("faultLable", getFaultLable())
            .append("faultCode", getFaultCode())
            .append("noWarning", getNoWarning())
            .append("creationTime", getCreationTime())
            .append("turnoverTime", getTurnoverTime())
            .toString();
    }
}
